<!DOCTYPE >
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>基本设置</title>
<css  href="__PUBLIC__/system/css/right.css" />
<js href="__PUBLIC__/system/js/jquery.js" />
<js href="__PUBLIC__/system/js/system.js" />
<js href="__PUBLIC__/system/js/admin.js" />
</head>
<body style="overflow: auto;">
	<div class="basic bor">
			<div class="title fl">当前位置：图片管理 > 图片列表</div>
			<div class="basic_r fr"><a href="{:U('Index/setting')}">基本信息</a></div>
	</div>
	
	<div class="addnav">



<form style="    position: absolute;" action="{:U('Product/adcate')}" method="post"  enctype="multipart/form-data">
        <span class="navname">分类名称：</span>
        <input class="input127" type="text" name="name">	
        <div class="infx blocks">
            <input class="infile" type="file"   name="pic" value="">
            <span class="text_s">上传文件</span>
            </div>
        <input  type="hidden" name="case_uid" value="{$_GET[case_id]}">	
        <input class="submit addnew"  style="color: #fff;padding-left:0" name="submit" type="submit" value="添加" />
    </form>



    <form action="{:U('Product/sou')}" method="post"  enctype="multipart/form-data">
    <div class="sou">
    <input name="name" value="" type="text">
     <input class="submit addnew" name="submit" style="color: #fff;padding-left:0"  type="submit" value="图片搜索" />
    </div>
</form>

		<a class="submit fr addnews" href="{:U('Product/productadd',array('case_id'=>$_GET[case_id]))}"  />添加图片</a>


	</div>


<style>
.sou{
       position: absolute;
    top: 43px;
    left: 504px;
}

</style>




<div class="clear"></div>
<!-- 文章分类列表 -->
<div class="catelist">
    <div class="lists listsov" >
    <dd>图片管理</dd>
        <ul style="left:0">
            <volist name="cate" id="lis">
            <li><a href="{:U('Product/index',array('id'=>$lis[id],'case_id'=>$_GET[case_id]))}" <if condition="$lis['id'] eq $_GET['id'] ">class="classcup"</if> >{$lis.name}</a>
            <dl>  
                <volist name="lis.child" id="li">  
                <dt><a href="{:U('Product/index',array('id'=>$li[id],'case_id'=>$_GET[case_id]))}" >{$li.name}</a></dt>
                </volist>
            </dl>
            </li>
            </volist>
        </ul>
    <div class="button">
        <ol>
            <li class="fl" onclick="next()"><</li>
            <li class="fr" onclick="prev()">></li>
        </ol>

    </div>
    </div>

</div>
<!-- /文章分类列表 -->

<table border="1"  class="table table-hover text-center" id='list'>
  <tr class="trcolor">
    <td>选择</td>
   	<td>排序</td>
	<td>图片标题</td>
    <td>推荐</td>
    <td>所属分类</td>
    <td>缩略图</td>
    <td colspan="3">操作</td>
 
  </tr>

<!-- ============================================================= -->

<volist name="lists" id="li">
  <tr>
    <td><input class="checkbox bor"  name="fruit" type="checkbox" value="{$li.id}" /></td>
    <td><input class="orde"  onchange='onid("{$li.id}","sort","store_goods")' sort_id="{$li.id}" type="text" name="sort" value="{$li.sort}"></td>
    <td class="color444 textleft_lover"><input type="text" onchange='onid("{$li.id}","name","store_goods")' name_id="{$li.id}"  name="name" value="{$li.name}"></td>
    <td class="color12"><if condition="$li['fruit'] eq 1 ">是<else /> 否</if></td>
    <td class="color12">{$catename.$li[uid]}</td>
    <td class="color12"><img src="{$li.pic}" class="pic" ></td>
  
    <td><span class="addname">
    <a href="{:U('Product/productadd',array('id'=>$li[id],'case_id'=>$_GET[case_id]))}">修改</a></span></td>
    <td><span class="addname"><a href="{:U('Product/delpro',array('id'=>$li[id],'case_id'=>$_GET[case_id]))}" onclick="return confirm('确定将此记录删除?')">删除</a></span></td>
  </tr>
</volist>
  

<!-- ============================================================= -->

</table>
<div class="pages">
   <span class="allxz fl"><input class="checkbox bor" id="all"  name="Fruit" type="checkbox" value="3" /></span> 
   <div class="deladd fl"><a href="javascript:;" class="alllist" >全选</a><a href="javascript:;" class="color08bcbb" onclick="dellists('store_goods')" >删除所选</a></div>
   <div class="dispage fl cated">
                <span>批量移动到</span>
                <div class="select">
                    <dd>图片分类</dd>
                    <i class="bannerup" nun_deg="1" onclick="bannerlist(1)">></i>
                    <ul num_id="1">
                        <volist name="cates" id="vo"> 
                        <li><a href="javascript:;" onclick="upclassname('{$vo.id}','store_goods')">{$vo.html}{$vo.name}</a></li>
                        </volist>
                    </ul>
                </div>
            </div>
    <div class="page_s fr">{$page}</div>
</div>

      

<!-- 提示 -->
<p class="ts"><span class="colorf00">*</span><span class="ts_text"> 如果要修改排序/图片名称请直接点击文字修改。</span></p>
</body>
</html>